@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
				<div class="row">
                            <!-- <#input id="id" name="自增ID" value="${item.id}" underline="true"/> -->
                            	<input type="hidden" id="navTypeS" value="${item.navType}"/>
                            	
                            	<#input id="navSort" name="导航排序" value="${item.navSort}" underline="true"/>
                            	<#input id="navTitle" name="导航名称" value="${item.navTitle}" underline="true"/>
                            	<#input id="navUrl" name="导航连接" value="${item.navUrl}" />
                            	
                            <#SelectCon id="navType" name="导航位置" >
                                 <option value="0" id="se1">顶部</option>
                                 <option value="1" id="se2">底部</option>
                            </#SelectCon>
                            
                            <#Select id="nav" name="链接来自" >
                                 <option value="0">外部链接</option>
                                 <option value="1">系统文章</option>
                       		 </#Select>
                        
                         <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">
                                                                                  是否显示：
		                        <input type="radio" id="isShow" name="isShow" value='1' checked="checked"/>显示&nbsp;&nbsp;&nbsp;
		               			<input type="radio" id="NotisShow" name="isShow" value='0'/>隐藏<br/>
		               			  打开方式：
		                        <input type="radio" id="isOpen" name="isOpen" value='1' checked="checked"/>新窗口打开&nbsp;&nbsp;&nbsp;
		               			<input type="radio" id="NotisOpen" name="isOpen" value='0'/>页面跳转
							</div>
						<script>
              					let isShow = ${item.isShow} == '1'
              					$('#isShow').attr('checked', isShow), $('#NotisShow').attr('checked', !isShow);
              			</script>
              			<script>
              					let isOpen = ${item.isOpen} == '1'
              					$('#isOpen').attr('checked', isOpen), $('#NotisOpen').attr('checked', !isOpen);
              			</script>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align:center;">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="NavsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="NavsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/navs/navs_info.js"></script>
@}
